determine the internal resistance of primary cell